package com.huyanqi.front.rest.service;

import java.util.List;

import com.huyanqi.core.RetdObj;
import com.huyanqi.core.service.BaseFrontService;
import com.huyanqi.entity.User;
import com.huyanqi.front.rest.resp.UserSimpleResp;

public interface UserRestService extends BaseFrontService<User, Long>{

	
	RetdObj<List<User>> getUserList()throws Exception;
	
	RetdObj<User> regUser(User user)throws Exception;

	RetdObj<User> loginUser(User u);

	RetdObj<User> getUserByUid(Long uid);
 }
